package marcus.com.immersivemode;

import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

public class ColorImmersiveActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayoutId());

        findViewById(R.id.toast1).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(ColorImmersiveActivity.this, "Toast", Toast.LENGTH_SHORT).show();
            }
        });
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_color_immersive;
    }
}
